from typing import List
class Solution:
    def reverseString(self, s: List[str]) -> None:
        """
        Do not return anything, modify s in-place instead.
        使用递归的方式
        """
        s[1]=3

    def reverse(self, s):
        if len(s) >= 1:
            return self.reverseString(s[:-1])
        else:
            return s

if __name__ == "__main__":
    # Solution().reverseString([""])
    ss = ["h", "e", "l", "l", "o"]
    Solution().reverseString(ss)
    print(ss)
